Use WorkflowTrackingCleanUpActivity
Note: Use caution when building or editing a workflow. For further advice or to arrange training, contact your professional services consultant.
WorkflowTrackingCleanUpActivity can be used to purge tracking data associated with a workflow after a specified number of days have past.
WorkflowTrackingCleanUpActivity activity is located in the Tribal Generic section of the Tribal Toolbox.
Note: The WorkflowTrackingCleanUpActivity is included in the Purge workflow tracking data V4 workflow. Refer to Standard Triggers and Workflows for further information.
This activity contains the following relevant properties.
Section | This field | Holds this information... |
---|---|---|
Inputs | CheckUserEventTracking | Whether to process records that have user event tracking - input true or false. |
CommitDeletionsInline | Whether to commit deletions in line - input true or false. | |
CommitInterval | The number of records to commit. | |
KeepDataForDays |
The number of day's data to retain. You can enter TmpDays to use the value set in the How many days to keep Workflow Tracking Data institution setting on the General (Cross-System) screen. Alternatively, you can use TmpDebugDays to use the value set in the How many days to keep Workflow Debug Data institution setting on the General (Cross-System) screen |
|
KeepDataForDaysDetailed |
The number of day's data to retain for activity and user event tracking. You can enter TmpDaysDetailed to use the value set in the How many days to keep detailed Workflow Tracking Data institution setting on the General (Cross-System) screen. Note: If no value is set the KeepDataForDays value is used. |
|
OptionalFunctionName | The optional function name. | |
PurgeGWFMessage | Whether to purge data from the PurgeGWFMessage table - input true or false. | |
PurgeGWFPurgeTracking |
Whether to purge data from the PurgeGWFPurgeTracking table - input true or false. Note: You can only PurgeGWFPurgeTracking table data when PurgeGWFMessage table data is also purged. |
|
Misc | DisplayName |
The title of the activity. Note: The DisplayName property is set to WorkflowTrackingCleanUpActivity by default. |
Clicking the ellipsis button adjacent to the relevant field opens the Expression Editor, where you can enter the relevant code in the Visual Basic (VB) format.